package com.lanyun.auth.domain.authPermission;


import com.lanyun.auth.controller.admin.authPermission.vo.AuthPermissionRequestVO;

import java.util.List;

/**
 * 权限领域service
 *
 * @Author Jqcc
 * @Version 1.0
 * @Data 2025/3/12
 */
public interface AuthPermissionDomainService {


    /**
     * 新增权限
     * @param authPermissionRequestVO
     * @return
     */
    Boolean add(AuthPermissionRequestVO authPermissionRequestVO);

    /**
     * 修改权限信息
     * @param authPermissionRequestVO
     * @return
     */
    Boolean update(AuthPermissionRequestVO authPermissionRequestVO);

    /**
     * 删除权限
     * @param authPermissionRequestVO
     * @return
     */
    Boolean delete(AuthPermissionRequestVO authPermissionRequestVO);

    /**
     * 查询用户权限
     * @param userName
     * @return
     */
    List<String> getPermission(String userName);
}
